package com.zk.yygh.order_client.service;

import com.zk.yygh.vo.order.OrderCountQueryVo;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author: 张凯
 * @date: 2022/6/25 - 21:11
 */
@FeignClient("service-order")
@Repository
public interface OrderFeignClient {

    @ApiOperation("获取订单安排日期及数量做统计")
    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String,Object> getReserveDateMap(@RequestBody OrderCountQueryVo orderCountQueryVo);
}
